<?php
include 'PublicdetailController.php';
class AcountdetailController extends PublicdetailController {
    public $nguoidungct;
    public function init() {
		$this->initValue ();
        
        $this->nguoidungct = $this->TblUserbyId;
	}
	public function indexAction() {
  
        }
    public function thongtinctAction(){
       $this->_helper->layout ()->disableLayout ();
       $this->view->userct =  json_encode ($this->nguoidungct);
       return $this->view->userct;
    }    		
    
	public function preDispatch() {
		$auth = Zend_Auth::getInstance ();
		if (! $auth->hasIdentity ()) {
			if ($this->_request->getActionName () != 'login') {
				$this->_redirect ( '/index/login' );
			}
		}
	}
	
}